]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
window-tracker: Remove is_window_interesting()
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 30 Jan 2014 17:05:01 +0000 (18:05 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Jan 2014 12:49:07 +0000 (13:49 +0100)
It is now unused, so kill it.

https://bugzilla.gnome.org/show_bug.cgi?id=723308

src/shell-window-tracker.c
src/shell-window-tracker.h

index b9063d80763700d3f7c75ea0c9a2e53b888c4701..0fb1ca6dd9db3acf15c39b7316953903e3a9d2fe 100644 (file)
@@ -126,27 +126,6 @@ shell_window_tracker_class_init (ShellWindowTrackerClass *klass)
                                                    G_TYPE_NONE, 0);
 }
 
-/**
- * shell_window_tracker_is_window_interesting:
- *
- * The ShellWindowTracker associates certain kinds of windows with
- * applications; however, others we don't want to
- * appear in places where we want to give a list of windows
- * for an application, such as the alt-tab dialog.
- *
- * An example of a window we don't want to show is the root
- * desktop window.  We skip all override-redirect types, and also
- * exclude other window types like tooltip explicitly, though generally
- * most of these should be override-redirect.
- *
- * Returns: %TRUE iff a window is "interesting"
- */
-gboolean
-shell_window_tracker_is_window_interesting (MetaWindow *window)
-{
-  return !meta_window_is_skip_taskbar (window);
-}
-
 /*
  * get_app_from_window_wmclass:
  *
index 14626bf6033896afe6f18ae5b42158a0a656f03d..e75e3794ae5e00b7e86b1bcbecba7e6bafc129aa 100644 (file)
@@ -35,8 +35,6 @@ ShellApp *shell_window_tracker_get_window_app (ShellWindowTracker *tracker, Meta
 
 ShellApp *shell_window_tracker_get_app_from_pid (ShellWindowTracker *tracker, int pid);
 
-gboolean shell_window_tracker_is_window_interesting (MetaWindow *window);
-
 const char *_shell_window_tracker_get_app_context (ShellWindowTracker *tracker, ShellApp *app);
 
 GSList *shell_window_tracker_get_startup_sequences (ShellWindowTracker *tracker);